package com.foreveross.crawl.common.exception.self;

import com.foreveross.crawl.common.exception.BusinessException;
import com.foreveross.crawl.common.exception.enums.TaskStatusEnum;
/**
 * 适配器页面验证错误
 * @author xiangsf 2013-3-4
 *
 */
public class PageErrorResultException extends BusinessException{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6850238896191379713L;

	public PageErrorResultException(){
		super(TaskStatusEnum.TASK_PAGE_ERROR_RESULT.getStatus(), TaskStatusEnum.TASK_PAGE_ERROR_RESULT.getRemark());
	}
	
	public PageErrorResultException(String message){
		super(TaskStatusEnum.TASK_PAGE_ERROR_RESULT.getStatus(), message);
	}
	
	public PageErrorResultException(String message,Throwable rootCause){
		super(TaskStatusEnum.TASK_PAGE_ERROR_RESULT.getStatus(), message,rootCause);
	}
	
	public PageErrorResultException(String message, Exception ex){
		super(TaskStatusEnum.TASK_PAGE_ERROR_RESULT.getStatus(), message,ex);
	}

}
